package cn.rocksolid.sport.common;

import com.baomidou.mybatisplus.core.toolkit.StringUtils;

/**
 * Common shared properties
 */
public class C {
  // Misc
  public static final Pf CT = new Pf("ct");
  public static final Pf CBY = new Pf("cby");
  public static final Pf CDT = new Pf("cdt");
  public static final Pf MT = new Pf("mt");
  public static final Pf MBY = new Pf("mby");
  public static final Pf MDT = new Pf("mdt");
  // dt = datetime, t = time, d = date
  public static final Pf START_DT = new Pf("start_dt");
  public static final Pf END_DT = new Pf("end_dt");
  public static final Pf START_D = new Pf("start_d");
  public static final Pf END_D = new Pf("end_d");
  public static final Pf START_T = new Pf("start_t");
  public static final Pf END_T = new Pf("end_t");
  // A
  public static final Pf ACCESS_ID = new Pf("access_id");
  public static final Pf ACCESS_TYPE = new Pf("access_type");
  public static final Pf ADULT_ID = new Pf("adult_id");
  public static final Pf ADULT_IDS = new Pf("adult_ids");
  public static final Pf AGENCY = new Pf("agency");
  public static final Pf AGENCY_ID = new Pf("agency_id");
  public static final Pf AGENCIES = new Pf("agencies");
  public static final Pf AMOUNT = new Pf("amount");
  public static final Pf APP_ID = new Pf("app_id");
  public static final Pf APP_TYPE = new Pf("app_type");
  public static final Pf APP_UNIQUE_ID = new Pf("app_unique_id");
  public static final Pf APPLICANT_ID = new Pf("applicant_id");
  public static final Pf AVATAR = new Pf("avatar");
  // B
  public static final Pf BASE_64_PHOTO = new Pf("base64_photo");
  public static final Pf BIRTH = new Pf("birth");
  public static final Pf BREADCRUMBS = new Pf("breadcrumbs");
  // C
  public static final Pf CATEGORY_ID = new Pf("category_id");
  public static final Pf CERT = new Pf("cert");
  public static final Pf CHAPTER = new Pf("chapter");
  public static final Pf CHAPTERS = new Pf("chapters");
  public static final Pf CITY = new Pf("city");
  public static final Pf CODE = new Pf("code");
  public static final Pf COLLABORATOR = new Pf("collaborators");
  public static final Pf COLLABORATORS = new Pf("collaborators");
  public static final Pf COMMITTEE = new Pf("committee");
  public static final Pf COMMITTEES = new Pf("committees");
  public static final Pf CONFIG = new Pf("config");
  public static final Pf CONTACT = new Pf("contact");
  public static final Pf CONTACTS = new Pf("contacts");
  public static final Pf CONTENT = new Pf("content");
  public static final Pf COUNTRY = new Pf("country");
  public static final Pf COURSE_ID = new Pf("course_id");
  // D
  public static final Pf DELIVERY_ID = new Pf("delivery_id");
  public static final Pf DESCRIPTION = new Pf("description");
  public static final Pf DISTRICT = new Pf("district");
  // E
  public static final Pf EMAIL = new Pf("email");
  public static final Pf EN = new Pf("en");
  public static final Pf ETHNIC = new Pf("ethnic");
  public static final Pf EXPIRY = new Pf("expiry");
  public static final Pf EXPIRY_YEAR = new Pf("expiry_year");
  public static final Pf EXPIRY_MONTH = new Pf("expiry_month");
  public static final Pf EXPIRY_DAY = new Pf("expiry_day");
  // F
  public static final Pf FIELD_ID = new Pf("field_id");
  public static final Pf FUZZY = new Pf("fuzzy");
  // G
  public static final Pf GENDER = new Pf("gender");
  public static final Pf GID = new Pf("gid");
  public static final Pf GROUP_ID = new Pf("group_id");
  public static final Pf GROUPING = new Pf("grouping");
  public static final Pf GROUPINGS = new Pf("groupings");
  public static final Pf GROUPING_ID = new Pf("grouping_id");
  // H
  public static final Pf HEIGHT = new Pf("height");
  public static final Pf HOST = new Pf("host");
  // I
  public static final Pf ID = new Pf("id");
  public static final Pf ID_CARD = new Pf("id_card");
  public static final Pf ID_ENTITY = new Pf("id_entity");
  public static final Pf INSTALLMENT = new Pf("installment");
  // J
  // K
  // L
  //  public static final Pf LEVEL = new Pf("level"); // replaced by lv
  public static final Pf LEAVE_TIMES = new Pf("leave_times");
  public static final Pf LOCATION = new Pf("location");
  public static final Pf LOCATIONS = new Pf("locations");
  public static final Pf LV = new Pf("lv");
  public static final Pf LVS = new Pf("lvs");
  // M
  public static final Pf MASSAGE = new Pf("massage");
  public static final Pf MAX_SALE = new Pf("max_sale");
  public static final Pf MEMBER_ID = new Pf("member_id");
  public static final Pf MEMBER_IDS = new Pf("member_ids");
  public static final Pf MEMBERSHIP = new Pf("membership");
  public static final Pf MEMBERSHIP_ID = new Pf("membership_id");
  public static final Pf MIN_SALE = new Pf("min_sale");
  public static final Pf MOBILE = new Pf("mobile");
  public static final Pf MOS = new Pf("mos");
  public static final Pf MSA_ID = new Pf("msa_id");
  public static final Pf MSA_TYPE = new Pf("msa_type");
  public static final Pf MSA_TYPE_ID = new Pf("msa_type_id");
  // N
  public static final Pf NAME = new Pf("name");
  public static final Pf NICKNAME = new Pf("nickname");
  public static final Pf NUM = new Pf("num");
  // O
  public static final Pf ORDER = new Pf("order");
  public static final Pf ORDER_ID = new Pf("order_id");
  public static final Pf ORDER_IDS = new Pf("order_ids");
  public static final Pf ORGANIZER = new Pf("organizer");
  public static final Pf ORGANIZERS = new Pf("organizers");
  public static final Pf ORIGIN_ID = new Pf("origin_id");
  // P
  public static final Pf PAGE = new Pf("page");
  public static final Pf PASSWORD = new Pf("password");
  public static final Pf PASSWORD_NEW = new Pf("password_new");
  public static final Pf PASSWORD_OLD = new Pf("password_old");
  public static final Pf PAY_ID = new Pf("pay_id");
  public static final Pf PER_PAGE = new Pf("per_page");
  public static final Pf PHOTO = new Pf("photo");
  public static final Pf PID = new Pf("pid");
  public static final Pf PICTURE = new Pf("picture");
  public static final Pf PICTURES = new Pf("pictures");
  public static final Pf PORT = new Pf("port");
  public static final Pf PRICE = new Pf("price");
  public static final Pf PROPS = new Pf("props");
  public static final Pf PROVINCE = new Pf("province");
  public static final Pf PT = new Pf("pt");
  // Q
  public static final Pf QUANTITY = new Pf("quantity");
  // R
  public static final Pf REMARK = new Pf("remark");
  public static final Pf RETURN_TYPE = new Pf("return_type");
  public static final Pf RETURN_FEE = new Pf("return_fee");
  public static final Pf RETURN_AGING = new Pf("return_aging");
  public static final Pf ROLE_ID = new Pf("role_id");
  // S
  public static final Pf SALE_TPYE = new Pf("sale_type");
  public static final Pf SCORE = new Pf("score");
  public static final Pf SENDER = new Pf("sender");
  public static final Pf SEQ = new Pf("seq");
  public static final Pf SIGN = new Pf("sign");
  public static final Pf SPEC = new Pf("spec");
  public static final Pf SPECS = new Pf("specs");
  public static final Pf SPONSOR = new Pf("sponsor");
  public static final Pf SPONSORS = new Pf("sponsors");
  public static final Pf SPORT_TYPE = new Pf("sport_type");
  public static final Pf ST = new Pf("st");
  public static final Pf STATION_ID = new Pf("station_id");
  public static final Pf SUMMARY = new Pf("summary");
  public static final Pf SUPPORTER = new Pf("supporter");
  public static final Pf SUPPORTERS = new Pf("supporters");
  // T
  public static final Pf TAG_ID = new Pf("tag_id");
  public static final Pf TAX = new Pf("tax");
  public static final Pf TAX_RATE = new Pf("tax_rate");
  public static final Pf TEENAGE_ID = new Pf("teenage_id");
  public static final Pf TEENAGE_IDS = new Pf("teenage_ids");
  public static final Pf TIMES = new Pf("times");
  public static final Pf TITLE = new Pf("title");
  public static final Pf TOKEN = new Pf("token");
  public static final Pf TOUR_ID = new Pf("tour_id");
  public static final Pf TRANSFER_TIMES = new Pf("transfer_times");
  public static final Pf TYPE = new Pf("type");
  // U
  public static final Pf UNKNOWN = new Pf("unknown");
  public static final Pf USER_ID = new Pf("user_id");
  public static final Pf USERNAME = new Pf("username");
  // V
  public static final Pf VALUE = new Pf("value");
  public static final Pf VDT = new Pf("vdt");
  // W
  public static final Pf WAIVER = new Pf("waiver");
  public static final Pf WAIVERS = new Pf("waivers");
  public static final Pf WEIGHT = new Pf("weight");
  // X
  // Y
  // Z
  public static final Pf ZH = new Pf("zh");

  private C() {
  }

  /**
   * property and field pair
   */
  public static final class Pf {

    public final String f;
    public final String p;

    private Pf(String f) {
      this.f = f;
      this.p = StringUtils.underlineToCamel(f);
    }
  }

}
